﻿@model Vcare.ViewModels.ViewModelMembershipCards

@{
    ViewBag.Title = "Allocate";
}

<h1>Allocate Membership Cards To @ViewBag.CompanyName</h1>

<div class="spacer"></div>
<label style="font-family: 'Trebuchet MS'; font-size: 20px; color: #800000">Number of Memberships Available : @ViewBag.NumAvailableMembers</label>
<div class="spacer"></div>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Allocate Membership Cards</legend>
        @Html.HiddenFor(m => m.CompanyID)
        <div class="editor-label">
            @Html.Label("Number of cards to transfer")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NumberOfCards)
            @Html.ValidationMessageFor(model => model.NumberOfCards)
        </div>
        <div class="spacer"></div>
        <div class="spacer"></div>
        <div>
            <input type="submit" value="Save" />
        </div>
    </fieldset>
}

